home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 125
/
Freelog_MarsAvril2015_No125.iso
/
Musique
/
Quod Libet
/
quodlibet-3.3.0-installer.exe
/
bin
/
gi
/
_error.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2014-12-31
|
2KB
|
37 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.7)
class GError(RuntimeError):
def __init__(self, message = 'unknown error', domain = 'pygi-error', code = 0):
super(GError, self).__init__(message)
self.message = message
self.domain = domain
self.code = code
def __str__(self):
return '%s: %s (%d)' % (self.domain, self.message, self.code)
def __repr__(self):
return "%s.%s('%s', '%s', %d)" % (GError.__module__, GError.__name__, self.message, self.domain, self.code)
def copy(self):
return GError(self.message, self.domain, self.code)
def matches(self, domain, code):
'''Placeholder that will be monkey patched in GLib overrides.'''
raise NotImplementedError
def new_literal(domain, message, code):
'''Placeholder that will be monkey patched in GLib overrides.'''
raise NotImplementedError
new_literal = staticmethod(new_literal)